/*package cn.it.hbtt;

import com.sun.tools.internal.xjc.reader.dtd.bindinfo.BIUserConversion;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class user {
    private  int id;
    private  String name;
    public  user(int id ,String name){
        super();
        this.id=id;
        this.name=name;
        ApplicationContext applicationContext =new ClassPathXmlApplicationContext("spring.xml");
        BIUserConversion UserController=(userController) applicationContext.getBeansWithAnnotation("userController");
        Object userController = null;
        assert userController != null;
        user user;
        user = userController.getUserById(1);
        System.out.println(user);

    }
}
*/